/*
 * Copyright (c) Jack魏 2024 - 2024, All Rights Reserved.
 */

package cn.jackwei.yiyi.pojo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 页面表查询类
 *
 * @author Jack魏
 * @since 2024-07-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "页面表")
public class SysPageQuery extends BaseQuery {
    /**
     * 页面id
     */
    @Schema(description = "页面id")
    private Integer id;

    /**
     * 分组
     */
    @Schema(description = "分组")
    private String group;

    /**
     * 页面名称
     */
    @Schema(description = "页面名称")
    private String name;

    /**
     * 权限类型：目录 1，菜单 2，按钮 3
     */
    @Schema(description = "权限类型：目录 1，菜单 2，按钮 3")
    private Integer type;

    /**
     * URL路径
     */
    @Schema(description = "URL路径")
    private String url;

    /**
     * 组件
     */
    @Schema(description = "组件")
    private String component;

    /**
     * 权限许可
     */
    @Schema(description = "权限许可")
    private String permission;

    /**
     * 访问方法
     */
    @Schema(description = "访问方法")
    private String method;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 父id
     */
    @Schema(description = "父id")
    private Integer parentId;

    /**
     * 图标
     */
    @Schema(description = "图标")
    private String icon;

    /**
     * 是否删除：0正常，1删除
     */
    @Schema(description = "是否删除：0正常，1删除")
    private Integer isDel;

}